package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.ServiceTermsEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 法务条款表对象 service_terms
 *
 * @author ym
 * @date 2020-09-23
 */
@ApiModel("法务条款表-列表")
@Data
public class ServiceTermsListPcVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("标识号")
    private String termsCode;

    @ApiModelProperty("条款名称")
    @JsonSerialize(converter = ServiceTermsEnum.Covert.class)
    private String termsName;

    @ApiModelProperty("条款内容")
    private String temsContentUrl;

    @ApiModelProperty("状态")
    private String state;

}
